<!DOCTYPE html>
<html>
<head>
  <title>upload</title>
</head>
<body>
<!--    <input type="file" id="file" name="avatar" style="display:none;" onchange="{{route(upload)}}">
        <img src="" width="200px" height="200px" id="img-change">-->
<!--    <a href="{{route('user/upload')}}">
        <input type="file" name="avatar" value="" width="50" />
    </a>-->
<form method="post" action="upload" enctype="multipart/form-data">
        <input type="file" name="avatar" value="" width="50" />
        <input type="submit" value="上传">
    </form>
    
</body>
</html>

